/*
 * Copyright 2019 ThoughtWorks, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
/**
 * Action Icons.css
 */


/**
 * TABLE OF CONTENTS
 *
 * =BASE
 * =ACTION_STATES
 * =DISABLED_ACTION_STATES
 */


/**
 * =BASE
 */
.action_icon {
  cursor: pointer;
  display: block;
  float: left;
  height: 16px;
  padding-left: 20px;
  padding-top: 3px;
}


/**
 * =ACTION_STATES
 */
.add_icon {
  background: image_url('g9/icons/icon_add_16.png') no-repeat left 50%;
}
.remove_icon {
  background: image_url('g9/icons/icon_remove_16.png') no-repeat left 50%;
}
.delete_icon {
  background: image_url('g9/icons/icon_delete_16.png') no-repeat left 50%;
}
.edit_icon {
  background: image_url('g9/icons/icon_edit_16.png') no-repeat left 50%;
}
.preview_icon {
    background: image_url('g9/icons/icon_preview_16.png') no-repeat left 50%;
}
.preview_icon_wobg{
    background: image_url('g9/icons/icon_preview_wobg_16.png') no-repeat left 50%;
}
.move_icon {
  background: image_url('g9/icons/icon_move_16.png') no-repeat left 50%;
}
.clone_icon {
  background: image_url('g9/icons/icon_clone_16.png') no-repeat left 50%;
}
.lock_icon {
    background: image_url('g9/icons/icon_lock_16.png') no-repeat left 50%;
}

/**
 * =DISABLED_ACTION_STATES
 */
.add_icon_disabled,
.remove_icon_disabled,
.delete_icon_disabled,
.lock_icon_disabled,
.edit_icon_disabled,
.move_icon_disabled,
.clone_icon_disabled {
    color: #999999;
    cursor: default;
    display: inline-block;
}
.remove_icon_disabled,
.delete_icon_disabled {
  background: image_url('g9/icons/icon_delete_disabled_16.png') no-repeat left 50%;
}

.add_icon_disabled {
    background: image_url("g9/icons/icon_add_disabled_16.png") no-repeat scroll left 50% rgba(0, 0, 0, 0);
    line-height: 16px;
    padding-left: 20px;
}
.lock_icon_disabled{
    background: image_url("g9/icons/icon_lock_disabled_16.png") no-repeat scroll left 50% rgba(0, 0, 0, 0);
    padding-left: 20px;
}


.remove_icon_disabled,
.delete_icon_disabled {
  background: image_url('g9/icons/icon_delete_disabled_16.png') no-repeat left 50%;
}

.edit_icon_disabled {
  background: image_url('g9/icons/icon_edit_16_disabled.png') no-repeat left 50%;
}
.move_icon_disabled {
  background: image_url('g9/icons/icon_move_16_disabled.png') no-repeat left 50%;
}
.clone_icon_disabled {
  background: image_url('g9/icons/icon_clone_16_disabled.png') no-repeat left 50%;
}

/**
 * != NEEDS MIGRAGION: EXISTS B/C OF NOT USING UI HELPER
**/
.add_link {
  display: inline-block;
  background: image_url('g9/icons/icon_add.png') no-repeat left 50%;
  padding: 5px 5px 5px 20px;
}
.menu_link {
  background: image_url('g9/icons/arrow_open.png') no-repeat right 50%;
  padding-right: 16px;
}
.icon_remove {
  display: block;
  height: 18px;
  width: 18px;
  background: image_url('g9/icon_close_16.png') no-repeat 1px 3px;
  cursor: pointer;
}
.icon_cannot_remove {
  background: image_url('g9/icon_close_16_disabled.png');
  display: block;
  height: 18px;
  width: 18px;
  cursor: inherit;
}
